import type { ByProps, Item } from './types'

const BY: ByProps = {
  name: 'CC BY 2.0',
  url: 'https://creativecommons.org/licenses/by/2.0/'
}

const BY_SA: ByProps = {
  name: 'CC BY-SA 2.0',
  url: 'https://creativecommons.org/licenses/by-sa/2.0/'
}

const BY_ND: ByProps = {
  name: 'CC BY-ND 2.0',
  url: 'https://creativecommons.org/licenses/by-nd/2.0/'
}

// via http://labs.tineye.com/multicolr
export default [
  {
    color: '#001f3f',
    id: '1',
    alt: 'Crepuscular rays',
    path: '43428526@N03/7863279376',
    license: BY
  },
  {
    color: '#0074D9',
    id: '2',
    alt: 'Lapland winter scene',
    path: '25507134@N00/6527537485',
    license: BY
  },
  {
    color: '#7FDBFF',
    id: '3',
    alt: 'Jellyfish',
    path: '37707866@N00/3354331318',
    license: BY
  },
  {
    color: '#39CCCC',
    id: '4',
    alt: 'A man scuba diving',
    path: '32751486@N00/4608886209',
    license: BY_SA
  },
  {
    color: '#3D9970',
    id: '5',
    alt: 'Underwater scene',
    path: '25483059@N08/5548569010',
    license: BY
  },
  {
    color: '#2ECC40',
    id: '6',
    alt: 'Ferns',
    path: '8404611@N06/2447470760',
    license: BY
  },
  {
    color: '#01FF70',
    id: '7',
    alt: 'Posters in a bar',
    path: '33917831@N00/114428206',
    license: BY_SA
  },
  {
    color: '#FFDC00',
    id: '8',
    alt: 'Daffodil',
    path: '46417125@N04/4818617089',
    license: BY_ND
  },
  {
    color: '#FF851B',
    id: '9',
    alt: 'Dust storm in Sydney',
    path: '56068058@N00/3945496657',
    license: BY
  },
  {
    color: '#FF4136',
    id: '10',
    alt: 'Postbox',
    path: '31883499@N05/4216820032',
    license: BY
  },
  {
    color: '#85144b',
    id: '11',
    alt: 'Fireworks',
    path: '8484971@N07/2625506561',
    license: BY_ND
  },
  {
    color: '#B10DC9',
    id: '12',
    alt: 'The Stereophonics',
    path: '58028312@N00/5385464371',
    license: BY_ND
  }
] as Item[]
